package edu.ccut.saturn.operation.database;

import java.sql.Connection;

public class QueryCountBySQL {
	private static edu.ccut.saturn.basecomponent.database.facade.QueryCountBySQL facade = null;
	private static QueryCountBySQL instance  = new QueryCountBySQL();
    private QueryCountBySQL(){
    	facade = new edu.ccut.saturn.basecomponent.database.facade.QueryCountBySQL();
    };
    public static QueryCountBySQL getInstance(){
    	return instance;
    }
	public int execute(String sql,Connection conn) throws Exception {
		return facade.execute(sql, conn);
	}
}